package com.wanma.recuit.service.impl;

import com.github.pagehelper.PageInfo;
import com.wanma.recuit.mapper.IndustryMapper;
import com.wanma.recuit.pojo.Industry;
import com.wanma.recuit.service.IndustryService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;
@Service
@Transactional(rollbackFor = Exception.class)
public class IndustryServiceImpl implements IndustryService {
    @Resource
    private IndustryMapper industryMapper;
    @Override
    public void insert(Industry object) {

    }

    @Override
    public void delete(Integer id) {

    }

    @Override
    public void delete(String ids) {

    }

    @Override
    public void update(Industry object) {

    }

    @Override
    public Industry findById(Integer id) {
        return null;
    }

    @Override
    public List<Industry> findAll() {
        return industryMapper.selectList();
    }

    @Override
    public PageInfo<Industry> findPage(int pageNum, int pageSize) {
        return null;
    }
}
